package com.hakim.wfb.admin.result.admin;

import com.hkfs.fundamental.api.data.DataObjectBase;

import java.util.Date;
import java.util.List;

/**
 * 管理员基本信息表
 */
public class AdminFullView extends DataObjectBase {
    private static final long serialVersionUID = 1L;
    /**
     * ID
     */
    private Long id;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 用户登录密码
     */
    private String password;
    /**
     * 真实姓名
     */
    private String realName;
    /**
     * 手机号码
     */
    private String phone;
    /**
     * 电子邮箱
     */
    private String email;
    /**
     * 角色id
     */
    private List<String> roleIds;
    /**
     * 用户状态 0启用 1锁定
     */
    private Integer optlock;
    /**
     * 登陆状态 0登出 1正常
     */
    private Integer status;
    /**
     * 上次登录时间
     */
    private Date lastvisitTime;
    /**
     * 创建时间
     */
    private Date createdtime;
    /**
     * 更新时间
     */
    private Date updatedtime;

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return this.realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }


    public List<String> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<String> roleIds) {
        this.roleIds = roleIds;
    }

    public Integer getOptlock() {
        return this.optlock;
    }

    public void setOptlock(Integer optlock) {
        this.optlock = optlock;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getLastvisitTime() {
        return this.lastvisitTime;
    }

    public void setLastvisitTime(Date lastvisitTime) {
        this.lastvisitTime = lastvisitTime;
    }

    public Date getCreatedtime() {
        return this.createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getUpdatedtime() {
        return this.updatedtime;
    }

    public void setUpdatedtime(Date updatedtime) {
        this.updatedtime = updatedtime;
    }
}
